package com.enen.mapper;

import com.enen.pojo.Student;
import com.enen.pojo.StudentQueryParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface StudentMapper {
    List<Student> findAll(StudentQueryParam studentQueryParam);

    void save(Student student);

    Student getInfo(Integer id);

    void delect(List<Integer> ids);


    void update(Student student);

    void violation(Integer id, Integer score);

    List<Map> countStudentDegreeData();
}
